/* 全局变量定义：统一色彩和尺寸体系 */
:root {
    /* 主色调：蓝紫渐变 */
    --primary-50: #f0f7ff;
    --primary-100: #e0efff;
    --primary-200: #c9e2ff;
    --primary-300: #b3d9ff;
    --primary-400: #80c0ff;
    --primary-500: #4096ff;
    --primary-700: #165dff;
    --primary-900: #093cad;

    /* 辅助色 */
    --success-500: #52c41a;
    --warning-500: #faad14;
    --danger-500: #ff4d4f;
    --info-500: #1890ff;

    /* 中性色 */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* 科目颜色 */
    --politics-color: #ef4444;
    --english-color: #3b82f6;
    --math-color: #10b981;
    --professional-color: #8b5cf6;

    /* 尺寸变量 */
    --card-radius: 12px;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.08);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 全局重置：消除默认样式差异 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--gray-50) !important;
    color: var(--gray-800);
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    line-height: 1.5;
    min-height: 100vh;
}

/* 布局容器：控制页面宽度和间距 */
.container {
    max-width: 1400px;
}

/* 页面标题区域 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.page-title {
    font-size: 1.875rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary-700), var(--primary-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-title i {
    font-size: 1.5rem;
    color: var(--primary-500);
}

/* 核心卡片样式：现代感设计 */
.student-card {
    border: none;
    border-radius: var(--card-radius);
    background-color: #fff !important;
    box-shadow: var(--card-shadow);
    transition: var(--transition-base);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.student-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

/* 卡片顶部渐变边框：增强视觉层次 */
.card-gradient-border {
    position: relative;
}

.card-gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-700), var(--primary-500));
    border-radius: var(--card-radius) var(--card-radius) 0 0;
}

/* 卡片头部样式 */
.card-header {
    background-color: #fff !important;
    border-bottom: 1px solid var(--gray-100);
    padding: 1.25rem 1.5rem !important;
    border-radius: 0 !important;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0 !important;
}

.card-title i {
    color: var(--primary-500);
    font-size: 1.25rem;
}

/* 卡片内容区域 */
.card-body {
    padding: 1.5rem !important;
}

/* ==================== 目标成绩卡片样式 ==================== */

/* 目标成绩网格布局 */
.target-scores-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* 单个目标成绩卡片 */
.target-score-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.target-score-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-700));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.target-score-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-200);
}

.target-score-card:hover::before {
    transform: scaleX(1);
}

/* 科目颜色主题 */
.target-score-card[data-subject="politics"] {
    border-left: 4px solid var(--politics-color);
}

.target-score-card[data-subject="english"] {
    border-left: 4px solid var(--english-color);
}

.target-score-card[data-subject="math"] {
    border-left: 4px solid var(--math-color);
}

.target-score-card[data-subject*="professional"] {
    border-left: 4px solid var(--professional-color);
}

/* 目标成绩头部 */
.target-score-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.subject-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.target-score-card[data-subject="politics"] .subject-icon {
    background: linear-gradient(135deg, var(--politics-color), #dc2626);
}

.target-score-card[data-subject="english"] .subject-icon {
    background: linear-gradient(135deg, var(--english-color), #1d4ed8);
}

.target-score-card[data-subject="math"] .subject-icon {
    background: linear-gradient(135deg, var(--math-color), #047857);
}

.target-score-card[data-subject*="professional"] .subject-icon {
    background: linear-gradient(135deg, var(--professional-color), #7c3aed);
}

.subject-info {
    flex: 1;
    min-width: 0;
}

.subject-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.subject-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.confidence-level {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: var(--success-500);
    font-weight: 500;
}

.priority-level {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

.priority-1 { background: #fef2f2; color: #dc2626; }
.priority-2 { background: #fff7ed; color: #ea580c; }
.priority-3 { background: #f0f9ff; color: #0284c7; }
.priority-4 { background: #f0fdf4; color: #16a34a; }
.priority-5 { background: #faf5ff; color: #7c3aed; }

/* 操作按钮 */
.target-score-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
}

.btn-edit {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: white;
}

.btn-edit:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 150, 255, 0.3);
}

.btn-delete {
    background: linear-gradient(135deg, #ff6b6b, #e63946);
    color: white;
}

.btn-delete:hover {
    background: linear-gradient(135deg, #e63946, #c1121f);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

/* 分数对比区域 */
.score-comparison {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.current-score, .target-score {
    text-align: center;
    flex: 1;
}

.score-label {
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.score-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.125rem;
}

.target-score-card[data-subject="politics"] .score-value {
    color: var(--politics-color);
}

.target-score-card[data-subject="english"] .score-value {
    color: var(--english-color);
}

.target-score-card[data-subject="math"] .score-value {
    color: var(--math-color);
}

.target-score-card[data-subject*="professional"] .score-value {
    color: var(--professional-color);
}

.score-unit {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
}

.score-arrow {
    color: var(--primary-500);
    font-size: 1.25rem;
    margin: 0 1rem;
}

/* 分数范围条 */
.score-range {
    margin-bottom: 1.25rem;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-600);
}

.range-bar {
    position: relative;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.range-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f1f5f9;
}

.range-safety {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #10b981;
    opacity: 0.3;
    border-radius: 4px 0 0 4px;
}

.range-realistic {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #3b82f6;
    opacity: 0.6;
    border-radius: 4px 0 0 4px;
}

.range-ideal {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #8b5cf6;
    opacity: 0.4;
    border-radius: 4px 0 0 4px;
}

.range-current {
    position: absolute;
    top: -2px;
    width: 4px;
    height: 12px;
    background: #ef4444;
    border-radius: 2px;
    transform: translateX(-50%);
}

/* 进度条 */
.progress-section {
    margin-bottom: 1rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.progress-label {
    font-size: 0.8125rem;
    color: var(--gray-600);
    font-weight: 500;
}

.progress-percent {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-700);
}

.progress-bar-container {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-700));
    border-radius: 3px;
    transition: width 0.8s ease;
}

/* 元信息 */
.target-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.meta-item i {
    color: var(--primary-500);
    font-size: 0.875rem;
}

/* 目标成绩统计摘要 */
.target-stats-summary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.target-stats-summary .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.125rem;
}

.stat-label {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* ==================== 其他样式 ==================== */

/* 信息项布局：精致对齐 */
.info-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition-base);
}

.info-item:hover {
    background-color: var(--primary-50);
}

.info-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
}

.info-value {
    font-size: 1rem;
    color: var(--gray-800);
    font-weight: 400;
}

/* 标签样式：美化状态展示 */
.badge {
    border-radius: 6px !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    padding: 0.25rem 0.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem;
}

/* 渐变徽章：增强视觉识别 */
.badge-gradual {
    color: #fff !important;
    border: none !important;
}

.badge-gradual.bg-primary {
    background: linear-gradient(90deg, var(--primary-700), var(--primary-500));
}

.badge-gradual.bg-success {
    background: linear-gradient(90deg, #45a71a, var(--success-500));
}

.badge-gradual.bg-warning {
    background: linear-gradient(90deg, #e69500, var(--warning-500));
}

.badge-gradual.bg-danger {
    background: linear-gradient(90deg, #e63939, var(--danger-500));
}

.badge-gradual.bg-info {
    background: linear-gradient(90deg, #0e72d3, var(--info-500));
}

/* 按钮样式：现代扁平化 */
.btn {
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-base);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
}

/* 主按钮：渐变背景 */
.btn-gradual-primary {
    background: linear-gradient(90deg, var(--primary-700), var(--primary-500));
    color: #fff !important;
    border: none !important;
}

.btn-gradual-primary:hover {
    background: linear-gradient(90deg, var(--primary-900), var(--primary-700));
    box-shadow: 0 4px 12px rgba(64, 150, 255, 0.2);
    transform: translateY(-1px);
}

/* 轮廓按钮：精致边框 */
.btn-outline-secondary {
    border-color: var(--gray-300) !important;
    color: var(--gray-700) !important;
    background-color: transparent !important;
}

.btn-outline-secondary:hover {
    border-color: var(--primary-300) !important;
    color: var(--primary-700) !important;
    background-color: var(--primary-50) !important;
}

/* 链接按钮：弱化边框 */
.btn-link {
    color: var(--primary-700) !important;
    text-decoration: none !important;
    padding: 0.25rem 0.5rem !important;
}

.btn-link:hover {
    color: var(--primary-900) !important;
    text-decoration: underline !important;
    background-color: transparent !important;
}

/* 空状态：友好提示 */
.empty-state {
    background-color: var(--gray-50);
    border: 1px dashed var(--gray-200);
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition-base);
}

.empty-state:hover {
    background-color: var(--primary-50);
    border-color: var(--primary-200);
}

.empty-state .bi {
    color: var(--gray-300);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: var(--transition-base);
}

.empty-state:hover .bi {
    color: var(--primary-400);
    transform: scale(1.05);
}

.empty-state p {
    margin-bottom: 0;
    color: var(--gray-500);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* 工具提示：精致气泡 */
.tooltip {
    z-index: 1050 !important;
}

.tooltip-inner {
    background-color: #fff !important;
    color: var(--gray-800) !important;
    border: 1px solid var(--gray-200) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    padding: 0.625rem 0.875rem !important;
    font-size: 0.875rem !important;
    border-radius: 8px !important;
}

.tooltip-arrow::before {
    border-top-color: var(--gray-200) !important;
    border-bottom-color: var(--gray-200) !important;
    border-left-color: var(--gray-200) !important;
    border-right-color: var(--gray-200) !important;
}

/* 动画效果：平滑过渡 */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.empty-state-animate {
    animation: fadeIn 0.6s ease-out forwards;
}

.system-item-animate {
    opacity: 0;
    animation: slideUp 0.4s ease-out forwards;
}

/* 成绩分析卡片样式 */
.analysis-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-card {
    padding: 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.highlight-card.primary {
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    color: white;
    border-color: #4361ee;
}

.highlight-card.success {
    background: linear-gradient(135deg, #06d6a0, #04a777);
    color: white;
    border-color: #06d6a0;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.highlight-content {
    flex: 1;
}

.highlight-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.highlight-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* 风险评估 */
.risk-assessment {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #ffd166;
}

.assessment-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2b2d42;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.risk-levels {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.risk-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.risk-item:hover {
    border-color: #4361ee;
    transform: translateX(4px);
}

.risk-item.high-risk {
    border-left: 4px solid #ff6b6b;
}

.risk-item.low-risk {
    border-left: 4px solid #06d6a0;
}

.risk-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.high-risk .risk-indicator {
    background: #ff6b6b;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.low-risk .risk-indicator {
    background: #06d6a0;
    box-shadow: 0 0 10px rgba(6, 214, 160, 0.5);
}

.risk-info {
    flex: 1;
}

.risk-category {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2b2d42;
    margin-bottom: 0.25rem;
}

.risk-count {
    font-size: 0.75rem;
    color: #6c757d;
}

/* 进度概览 */
.progress-overview {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 12px;
    border: 1px solid #e6f0ff;
}

.overview-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2b2d42;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.progress-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-circle {
    position: relative;
}

.stat-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4361ee;
    line-height: 1;
}

.stat-unit {
    font-size: 0.75rem;
    color: #6c757d;
}

.stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

/* 行动建议 */
.action-suggestions {
    padding: 1.25rem;
    background: #fff9f0;
    border-radius: 12px;
    border: 1px solid #ffe8cc;
}

.suggestions-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2b2d42;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.suggestion-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    transform: translateX(4px);
}

.suggestion-item.warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.suggestion-item.info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.suggestion-item.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.suggestion-item i {
    font-size: 1rem;
    flex-shrink: 0;
}

/* 系统信息区域：简洁列表 */
.system-list {
    margin-top: 1rem;
}

.system-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.system-item:last-child {
    border-bottom: none;
}

.system-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.system-value {
    font-size: 0.875rem;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 响应式设计：适配不同屏幕 */
@media (max-width: 767px) {
    .container {
        padding: 1.5rem 1rem !important;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .info-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .target-scores-grid {
        grid-template-columns: 1fr;
    }

    .target-score-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .target-score-actions {
        align-self: flex-end;
    }

    .score-comparison {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .score-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    .target-meta {
        grid-template-columns: 1fr;
    }

    .target-stats-summary .stats-grid {
        grid-template-columns: 1fr;
    }

    .analysis-highlights {
        grid-template-columns: 1fr;
    }

    .progress-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .card-header,
    .card-body {
        padding: 1rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .info-group {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .target-scores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .target-scores-grid {
        grid-template-columns: 1fr;
    }
}